home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 17 / Hot Mix 17.iso / HM17_SGI / html / vendors / adobe / software / launchill2.csh < prev    next >
Linux/UNIX/POSIX Shell Script  |  1997-06-17  |  885b  |  30 lines

  1. #!/bin/csh -f
  2. echo " "
  3. echo "You appear to have"
  4. echo "Adobe Illustrator 5.5.1 installed."
  5. echo " "
  6. echo "Would you like to launch it (y/n)?:  \c"
  7. set ans=($<)
  8. if ( $ans == 'y' ) then
  9.     cd $HOME
  10.     /usr/bin/illustrator
  11.     exit
  12. else
  13.     echo " "
  14.     echo "Would you like to install "
  15.     echo "Adobe Illustrator 5.5.1 anyway (y/n)?:  \c"
  16.     set ans=($<)
  17.     if ( $ans == 'y' ) then
  18.         xterm -bg royalblue -fg white \
  19.                 -geom 80x30+100+100 -cr violetred1  \
  20.                 -title "Installing Adobe Illustrator 5.5.1" \
  21.                 -e /bin/csh -c \
  22.                 "echo You must be root to install Illustrator...; \
  23.                 cd ${INSTALL_FROM_DIR}/illustrator_5.5.1;\
  24.                 su root -c './Installill2.csh  CDDIR=${INSTALL_FROM_DIR}/illustrator_5.5.1 LICENSE_PROMPT=n DFTSECURITYDIR=/dev DFTSECURITYFILE=null AUTOSYMLINK=1';\
  25.                 sleep 10"
  26.     endif
  27. endif
  28.  
  29.  
  30.